Current Location: Home> Function Categories> is_finite

is_finite

Determine whether it is a finite value
Name:is_finite
Category:math
Programming Language:php
One-line Description:Determine whether it is a finite value.

Definition and usage

is_finite() function determines whether it is a finite value.

Example

 <?php
echo is_finite ( 2 ) ;
echo is_finite ( log ( 0 ) ) ;
echo is_finite ( 2000 ) ;
?>

Try it yourself

grammar

 is_finite ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

Return true if x is a legal finite value in the range allowed by PHP floating point numbers on the native platform.

Similar Functions
  • Square root sqrt

    sqrt

    Squareroot
  • Leave the method of sorting floor

    floor

    Leavethemethodofsort
  • Natural logarithm log

    log

    Naturallogarithm
  • Further method to sort ceil

    ceil

    Furthermethodtosort
  • Ancient sine asin

    asin

    Ancientsine
  • Convert angle to radians deg2rad

    deg2rad

    Convertangletoradian
  • Returns the remainder of the floating point number of division fmod

    fmod

    Returnstheremaindero
  • Find the maximum value max

    max

    Findthemaximumvalue
Popular Articles